<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>万座网旅游分销平台-用户资料</title>
<link href="../style/frame.css" rel="stylesheet" type="text/css" />
<link href="../style/common2.css" type="text/css" rel="stylesheet" />
<link href="../style/mainStyle.css" type="text/css" rel="stylesheet" />
<script src="../js/jquery-1.5.1.min.js" type="text/javascript"></script>
<script src="../js/common.js" type="text/javascript"></script>
<script src="../js/PCASClass.js" type="text/javascript" charset="gb2312"></script>
</head>

<body>
<div class="mainbody">	
	<!--子目录导航-->
    <div class="subnav">您当前位置：消费记录</div>	
    
    
    <!--用户资料-->
    <div class="prod_list">
    <form id="regF" name="regF" method="post" action="user_info.php?act=update">
   <table width="100%" border="0" cellpadding="0" cellspacing="0" class="l_detail">
      <tr>
        <th>单位名称：</th>
        <td colspan="3"><?php echo $rs['companyname'];?></td>
      </tr>
      <tr>
        <th>密码：</th>
        <td colspan="3"><a href="password.php">修改密码</a></td>
      </tr>
      <tr>
        <th>联&nbsp;系&nbsp;人：</th>
        <td width="42%"><input class="text2" type="text" value="<?php echo $rs['contact'];?>" name="data[contact]" id="contact" notnull="true" maxlength="30" /> <span style="color:#F00;">*</span></td>
        <th width="8%">联系电话：</th>
        <td><input class="text2" type="text" value="<?php echo $rs['phone'];?>" name="data[phone]" maxlength="30" /></td>
      </tr>
      <tr>
        <th>联系手机：</th>
        <td><input class="text2" type="text" value="<?php echo $rs['mobile'];?>" name="data[mobile]" id="mobile" notnull="true"  maxlength="11"/> <span style="color:#F00;">*</span></td>
        <th>Q Q：</th>
        <td><input class="text2" type="text" value="<?php echo $rs['link_qq'];?>"  name="data[link_qq]" id="link_qq"  maxlength="100" /> <span style="color:#F00;">*</span></td>
      </tr>
      <tr>
        <th>淘宝店铺网址：</th>
        <td colspan="3"><input class="text2" type="text" value="<?php echo $rs['taobao_url'];?>" name="data[taobao_url]" id="taobao_url" size="80" style="width:500px;"  maxlength="100" /> <span style="color:#F00;">*</span> <span style="color:#999;">格式：http://pingmeiguan.taobao.com</span></td>
      </tr>
      <tr>
        <th>传&nbsp;&nbsp;&nbsp;&nbsp; 真：</th>
        <td><input class="text2" type="text" value="<?php echo $rs['fax'];?>"  name="data[fax]" maxlength="30" /></td>
        <th>邮 &nbsp;&nbsp;&nbsp;&nbsp;箱：</th>
        <td><input class="text2" type="text" value="<?php echo $rs['email'];?>" name="data[email]"  maxlength="50" /></td>
      </tr>
      <tr>
        <th>城&nbsp;&nbsp;&nbsp;&nbsp; 市：</th>
        <td colspan="3"><select name="data[mem_province]"></select><select name="data[mem_city]"></select></td>
      </tr>
      <tr>
        <th>地&nbsp;&nbsp;&nbsp;&nbsp;址：</th>
        <td colspan="3"><input class="text2" type="text" value="<?php echo $rs['companyaddr'];?>" name="data[companyaddr]" id="link_address" size="80" style="width:500px;"  maxlength="100" /></td>
      </tr>
      
      <tr>
        <th>主要业务：</th>
        <td colspan="3"><textarea rows="10" cols="100" name="data[companyMainBusiness]" ><?php echo $rs['companyMainBusiness'];?></textarea>
        
        </td>
      </tr>
      <tr>
        <th>&nbsp;</th>
        <td colspan="3"><input type="button" value="" class="sub_btn" onclick="regsub()"/> <font color=red>(* 为必填项。)</font>
        </td>
      </tr>
    </table>
    
    </form>
      
    </div>
</div>
<script language="javascript" defer>
new PCAS("data[mem_province]","data[mem_city]","江苏省","苏州市");

function regsub(){
	if($("#contact").val()==''){
		alert('请填写联系人名称！');
		$("#contact").focus();
		return false;
	}
	if($("#mobile").val()==''){
		alert('请填写联系手机！');
		$("#mobile").focus();
		return false;
	}
	if($("#link_qq").val()==''){
		alert('请填写QQ！');
		$("#link_qq").focus();
		return false;
	}
	if($("#taobao_url").val()==''){
		alert('请填写您的淘宝店铺网址！');
		$("#taobao_url").focus();
		return false;
	}
	$("#regF").submit();
}
</script>

<!-- 7caihu.com Baidu tongji analytics -->
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fb8797ecb21d1ccb839c35b190277a0cd' type='text/javascript'%3E%3C/script%3E"));
</script>
</body>
</html>
 